from django.contrib import admin
from .models import *


class TaskProcessAdmin(admin.ModelAdmin):
    list_display = ('task_name', 'task_callable', 'task_id', 'status', 'get_add_time')
    list_filter = ('task_name',)
admin.site.register(TaskProcess, TaskProcessAdmin)